package com.able.wanandroid.module.hotkey.repository.local.service;

import android.arch.lifecycle.LiveData;

import com.able.wanandroid.bean.HotKeyBean;
import com.able.wanandroid.bean.Resource;

import java.util.List;

public interface HotKeyService {
    LiveData<Long> add(HotKeyBean hotKeyBean);

    LiveData<Long> addList(List<HotKeyBean> hotKeyBeans);

    LiveData<Resource<List<HotKeyBean>>> queryAll();
}
